﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EditPassWord.aspx.cs" Inherits="StudentManage.Web.Personal.EditPassWord" %>
<%@ Register src="../UserControl/UC_Login.ascx" tagname="UC_Login" tagprefix="uc1" %>
<%@ Register src="../UserControl/UC_Contact.ascx" tagname="UC_Contact" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

<script type="text/javascript">
    function IsV() {
        var OldP = $("#MainContent_txt_OldPassWord").val();
        var NewP = $("#MainContent_txt_NewPassWord").val();
        var ConfirmP = $("#MainContent_txt_ConfirmPassWord").val();

        if (OldP == "" || NewP == "" || ConfirmP == "") {
            alert("请输入必填项！");
            return false;
        }

        if (NewP != ConfirmP) {
            alert("两次密码输入不一致！");
            return false;
        }
        return true;
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="content" class="bg2"> 
		<div class="wrap_con clearfix">
        	<div class="side">
            	<uc1:UC_Login ID="UC_Login" runat="server" ShowId="1" />
                <div class="side_box">
                	<h6>联系方式</h6>
                    <uc2:UC_Contact ID="UC_Contact" runat="server" />
                </div>
            </div>
        	<div class="main">
            	<div class="main_con">
                    <div class="main_tit"><strong>修改密码</strong></div>
                    <div class="my_info_tb">
                        <div class="my_info_lst"><span><em class="red">* </em>原密码：</span><asp:TextBox ID="txt_OldPassWord" runat="server" CssClass="input_txt mr_10" TextMode="Password"></asp:TextBox></div>
                        <div class="my_info_lst"><span><em class="red">* </em>新密码：</span><asp:TextBox ID="txt_NewPassWord" runat="server" CssClass="input_txt mr_10" TextMode="Password"></asp:TextBox></div>
                        <div class="my_info_lst"><span><em class="red">* </em>确认密码：</span><asp:TextBox ID="txt_ConfirmPassWord" runat="server" CssClass="input_txt mr_10" TextMode="Password"></asp:TextBox></div>
                    </div>
                    <div class="btn_c"><div class="float_c"><asp:Button ID="Btn_Save" runat="server" OnClientClick="return IsV();"
                            Text="修改保存" CssClass="btn_o btn_big" onclick="Btn_Save_Click" /></div></div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>